//
//  ImageCache.h
//  iRaoVat
//
//  Created by Huynh Chi Hung on 1/16/13.
//  Copyright (c) 2013 Huynh Chi Hung. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface ImageCache : NSObject

@property (nonatomic, retain) NSCache *imgCache;


#pragma mark - Methods

+ (ImageCache*)sharedImageCache;
- (void) AddImage:(UIImage *)image withURL:(NSString *)imageURL;
- (UIImage*) GetImage:(NSString *)imageURL;
- (BOOL) DoesExist:(NSString *)imageURL;

@end